package cloud.lysky.game.gamesampe.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Getter
@Schema(description = "伤害结果")
@Builder
public class DamageResult {
    @Schema(description = "伤害来源")
    private String from;

    @Schema(description = "造成伤害")
    private int damage;

    @Schema(description = "是否暴击")
    private boolean critical;
}
